<%@ Page 
    Language="C#" 
    MasterPageFile="~/ITCG.master" 
    AutoEventWireup="true" 
    CodeFile="Bod_Bodega.aspx.cs" 
    Inherits="BOD_Bod_Bodega" 
    Theme="EstiloKCG"
    StylesheetTheme="EstiloKCG"
    meta:resourcekey="Tit_Bod_BodegaRecursoKCG" %>
    
    <%@ Register tagprefix="koala" 
    assembly="KoalaWebControls" 
    namespace="Koala.KoalaWebControls" %>

<%@ Register 
    Src="../WebUserControls/wucMensajeEliminar.ascx" 
    TagName="wucMensajeEliminar"
    TagPrefix="uc1" %>
    
<%@ Register 
    Src="../WebUserControls/wucMensajeActualizar.ascx" 
    TagName="wucMensajeActualizar"
    TagPrefix="uc2" %>
    
    <%@ Register 
    Assembly="AjaxControlToolkit" 
    Namespace="AjaxControlToolkit" 
    TagPrefix="AjaxControlToolkit" %>
    
<asp:Content 
    ID="Content1" 
    ContentPlaceHolderID="ContentPlaceHolder1" 
    Runat="Server">
    <asp:UpdatePanel 
        ID="UpdatePanel1" 
        runat="server">
        <ContentTemplate>
            <script type="text/javascript">                                                                              
                                                                                                                                               
                function ItemSelected( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var Bod_Bodega_Tipo_Id = $get("ctl00_ContentPlaceHolder1_fvbod_bodega_Bod_Bodega_Tipo_Id");
                    Bod_Bodega_Tipo_Id.innerText = temp[0];
                    
                    var Bod_Bodega_Tipo_Codigo = $get("ctl00_ContentPlaceHolder1_fvbod_bodega_Bod_Bodega_Tipo_Codigo");
                    Bod_Bodega_Tipo_Codigo.innerText = temp[1];                                       
                }    
                function ItemSelected_Moneda( source, eventArgs ) 
                {
                    
                   var valor = eventArgs.get_value();
                    var temp = new Array();
                    temp = valor.split('||');
                                                        
                    var int_moneda_id = $get("ctl00_ContentPlaceHolder1_fvbod_bodega_int_moneda_id");
                    int_moneda_id.innerText = temp[0];   
                    
                    var int_moneda_codigo = $get("ctl00_ContentPlaceHolder1_fvbod_bodega_int_moneda_codigo");
                    int_moneda_codigo.innerText = temp[1];                                  
                }  
                
            </script>
            <input type="submit" style="display:none;" />
            <asp:FormView 
                ID="fvbod_bodega" 
                runat="server" 
                AllowPaging="True" 
                DataSourceID="odsfvbod_bodega"
                DefaultMode="Insert">
                <EditItemTemplate>
                    <asp:Panel
                        id="panelI1"
                        runat="server"
                        meta:resourcekey="Rec_Bod_BodegaRecursoKCG">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <asp:label
                                        id="lblestado"
                                        runat="server"                                        
                                        Text='<%# Bind("Estado_Nombre") %>'>
                                    </asp:label>                                  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCodigo"
                                        runat="server"                                        
                                        Text='<%# GetLocalResourceObject("CodigoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Codigo" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1" 
                                        ToolTip='<%# GetLocalResourceObject("CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Codigo") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblTipo"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Bod_Bodega_Tipo_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Tipo_Codigo" 
                                        runat="server"
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_Tipo_CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Bod_Bodega_Tipo_Codigo") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Tipo_Nombre" 
                                        runat="server" 
                                        CssClass = "TEXTO_EDICION_KCG" 
                                        Width ="400px"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_Tipo_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Bod_Bodega_Tipo_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        ID="rfvBod_Bodega_Tipo_Nombre"
                                        runat="server" 
                                        ControlToValidate="Bod_Bodega_Tipo_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender4"
                                        TargetControlID="rfvBod_Bodega_Tipo_Nombre"/>
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx"
                                        ID="autoComplete1" 
                                        TargetControlID="Bod_Bodega_Tipo_Nombre"
                                        ServicePath="~/BOD/BOD_BODEGA.aspx" 
                                        ServiceMethod="GetMaterial"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>   
                                    <asp:Button 
                                        ID="btnZoomBodega" 
                                        runat="server" 
                                        CommandArgument="RutaDestino: ~/BOD/Bod_Bodega_Tipo.aspx; Filtro: Bod_Bodega_Tipo_Nombre;"
                                        CommandName="Zoom" 
                                        Text="..." />                                   
                                </td>                                
                            </tr>                                                  
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblBodega"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Nombre" 
                                        runat="server" 
                                        CssClass = "TEXTO_EDICION_KCG" 
                                        Width ="560px"
                                        ToolTip='<%# GetLocalResourceObject("NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        runat="server" 
                                        ID="RequiredFieldValidator2"
                                        ControlToValidate="Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.Text").ToString() %>'/> 
                                   <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender2"
                                        TargetControlID="RequiredFieldValidator2" />  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblmoneda"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="int_moneda_codigo" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1" 
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("int_moneda_codigo") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="int_moneda_nombre" 
                                        runat="server"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        CssClass="TEXTO_EDICION_KCG" 
                                        Text='<%# Bind("int_moneda_nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        runat="server" 
                                        ID="RequiredFieldValidator1"
                                        ControlToValidate="int_moneda_nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.Text").ToString() %>'/> 
                                   <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender1"
                                        TargetControlID="RequiredFieldValidator1" />
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx2"
                                        ID="AutoCompleteExtender1" 
                                        TargetControlID="int_moneda_nombre"
                                        ServicePath="~/BOD/BOD_BODEGA.aspx" 
                                        ServiceMethod="GetMoneda"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Moneda" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx2');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx2')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx2')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>   
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCreacion"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Creacion_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Creacion_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:Label
                                        id="lblFecha"
                                        runat="server"                                        
                                        Text='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                    <asp:TextBox 
                                        ID="Fecha_Creacion" 
                                        runat="server"
                                        ReadOnly="true" 
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Creacion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDescripcion"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("DescripcionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Descripcion" 
                                        runat="server" 
                                        CssClass = "TEXTO_EDICION_KCG" 
                                        Width ="560"
                                        Height="50px"
                                        TextMode="multiline"
                                        ToolTip='<%# GetLocalResourceObject("DescripcionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Descripcion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Button 
                                            ID="UpdateButton" 
                                            runat="server"
                                            ValidationGroup="I" 
                                            CausesValidation="True" 
                                            CommandName="Update"
                                            AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_ActualizarRecursoKCG.AccesKey").ToString() %>'
                                            Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_UpdateRecursoKCG.Text").ToString() %>'
                                            ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_UpdateRecursoKCG.ToolTip").ToString() %>'>
                                         </asp:Button>
                                         <asp:Button 
                                            ID="UpdateCancelButton" 
                                            runat="server"
                                            CausesValidation="False" 
                                            CommandName="Cancel"
                                            AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_CancelarRecursoKCG.AccesKey").ToString() %>' 
                                            Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.Text").ToString() %>'
                                            ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.ToolTip").ToString() %>'>
                                         </asp:Button>
                                    <uc2:wucMensajeActualizar ID="WucMensajeActualizar1" runat="server" />
                                </td>
                            </tr>
                        </table>      
                    </asp:Panel>          
                    
                     <%--id's--%> 
                     
                     <asp:TextBox 
                        ID="Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Empresa_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Bod_Bodega_Tipo_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Bod_Bodega_Tipo_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Creacion_Per_Personal_Id") %>'>
                    </asp:TextBox>    
                    
                    <asp:TextBox 
                        ID="int_moneda_id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("int_moneda_id") %>'>
                    </asp:TextBox>  
                    
                    <%--campos no visibles--%>              
                    
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Empresa_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Empresa_Nombre") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Creacion_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Responsables" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Responsables") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado_Nombre") %>'>
                    </asp:TextBox>                                        
                    
                    <asp:TextBox 
                        ID="Codigo_int" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Codigo_int") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado") %>'>
                    </asp:TextBox>                    
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:Panel
                        id="panelI1"
                        runat="server"
                        meta:resourcekey="Rec_Bod_BodegaRecursoKCG">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <asp:label
                                        id="lblestado"
                                        runat="server"                                        
                                        Text='<%# Bind("Estado_Nombre") %>'>
                                    </asp:label>                                  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCodigo"
                                        runat="server"
                                        Visible="false"
                                        Text='<%# GetLocalResourceObject("CodigoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Codigo" 
                                        runat="server" 
                                        Visible="false"
                                        ToolTip='<%# GetLocalResourceObject("CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Codigo") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblTipo"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Bod_Bodega_Tipo_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Tipo_Codigo" 
                                        runat="server"
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_Tipo_CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Bod_Bodega_Tipo_Codigo") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Tipo_Nombre" 
                                        runat="server" 
                                        CssClass = "TEXTO_EDICION_KCG" 
                                        Width ="400px"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_Tipo_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Bod_Bodega_Tipo_Nombre") %>'>
                                    </asp:TextBox>  
                                    <asp:RequiredFieldValidator 
                                        ID="rfvBod_Bodega_Tipo_Nombre"
                                        runat="server" 
                                        ControlToValidate="Bod_Bodega_Tipo_Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ2RecursoKCG.Text").ToString() %>'/> 
                                    <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender4"
                                        TargetControlID="rfvBod_Bodega_Tipo_Nombre"/>                                  
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx"
                                        ID="autoComplete1" 
                                        TargetControlID="Bod_Bodega_Tipo_Nombre"
                                        ServicePath="~/BOD/BOD_BODEGA.aspx" 
                                        ServiceMethod="GetMaterial"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender> 
                                    <asp:Button 
                                        ID="btnZoomBodega" 
                                        runat="server" 
                                        CommandArgument="RutaDestino: ~/BOD/Bod_Bodega_Tipo.aspx; Filtro: Bod_Bodega_Tipo_Nombre;"
                                        CommandName="Zoom" 
                                        Text="..." />                                                                         
                                </td>                                                                                                                           
                            </tr>                                                        
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblBodega"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Nombre" 
                                        runat="server" 
                                        CssClass = "TEXTO_EDICION_KCG" 
                                        Width ="560px"
                                        ToolTip='<%# GetLocalResourceObject("NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        runat="server" 
                                        ID="RequiredFieldValidator2"
                                        ControlToValidate="Nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.Text").ToString() %>'/> 
                                   <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender2"
                                        TargetControlID="RequiredFieldValidator2" />  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblmoneda"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="int_moneda_codigo" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1" 
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("int_moneda_codigo") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="int_moneda_nombre" 
                                        runat="server"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.ToolTip").ToString() %>'
                                        CssClass="TEXTO_EDICION_KCG" 
                                        Text='<%# Bind("int_moneda_nombre") %>'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator 
                                        runat="server" 
                                        ID="RequiredFieldValidator1"
                                        ControlToValidate="int_moneda_nombre"
                                        ValidationGroup="I"
                                        ErrorMessage='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.ErrorMessage").ToString() %>'
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "MSJ1RecursoKCG.Text").ToString() %>'/> 
                                   <AjaxControlToolkit:ValidatorCalloutExtender 
                                        runat="Server" 
                                        ID="ValidatorCalloutExtender1"
                                        TargetControlID="RequiredFieldValidator1" />
                                    <AjaxControlToolkit:AutoCompleteExtender
                                        runat="server" 
                                        BehaviorID="AutoCompleteEx2"
                                        ID="AutoCompleteExtender1" 
                                        TargetControlID="int_moneda_nombre"
                                        ServicePath="~/BOD/BOD_BODEGA.aspx" 
                                        ServiceMethod="GetMoneda"
                                        MinimumPrefixLength="0" 
                                        CompletionInterval="500"
                                        EnableCaching="true"
                                        CompletionSetCount="20"
                                        CompletionListCssClass="autocomplete_completionListElement" 
                                        CompletionListItemCssClass="autocomplete_listItem" 
                                        CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
                                        OnClientItemSelected="ItemSelected_Moneda" >
                                        <Animations>
                                            <OnShow>
                                                <Sequence>
                                                    <%-- Make the completion list transparent and then show it --%>
                                                    <OpacityAction Opacity="0" />
                                                    <HideAction Visible="true" />                                                    
                                                    <%--Cache the original size of the completion list the first time
                                                        the animation is played and then set it to zero --%>
                                                    <ScriptAction Script="
                                                        // Cache the size and setup the initial size
                                                        var behavior = $find('AutoCompleteEx2');
                                                        if (!behavior._height) {
                                                            var target = behavior.get_completionList();
                                                            behavior._height = target.offsetHeight - 2;
                                                            target.style.height = '0px';
                                                        }" />                                                    
                                                    <%-- Expand from 0px to the appropriate size while fading in --%>
                                                    <Parallel Duration=".4">
                                                        <FadeIn />
                                                        <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx2')._height" />
                                                    </Parallel>
                                                </Sequence>
                                            </OnShow>
                                            <OnHide>
                                                <%-- Collapse down to 0px and fade out --%>
                                                <Parallel Duration=".4">
                                                    <FadeOut />
                                                    <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx2')._height" EndValue="0" />
                                                </Parallel>
                                            </OnHide>
                                        </Animations>
                                    </AjaxControlToolkit:AutoCompleteExtender>   
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCreacion"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Creacion_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Creacion_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:Label
                                        id="lblFecha"
                                        runat="server"                                        
                                        Text='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                    <asp:TextBox 
                                        ID="Fecha_Creacion" 
                                        runat="server"
                                        ReadOnly="true" 
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Creacion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDescripcion"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("DescripcionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Descripcion" 
                                        runat="server" 
                                        CssClass = "TEXTO_EDICION_KCG" 
                                        Width ="560"
                                        Height="50px"
                                        TextMode="multiline"
                                        ToolTip='<%# GetLocalResourceObject("DescripcionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Descripcion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Button 
                                            ID="Button1" 
                                            runat="server" 
                                            CausesValidation="True" 
                                            CommandName="Insert"
                                            ValidationGroup="I"
                                            AccessKey="I"
                                            Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_InsertRecursoKCG.Text").ToString() %>'
                                            ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_InsertRecursoKCG.ToolTip").ToString() %>'>
                                        </asp:Button>
                                        <asp:Button 
                                            ID="Button2" 
                                            runat="server" 
                                            CausesValidation="False" 
                                            CommandName="Cancel"
                                            AccessKey="C"
                                            Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.Text").ToString() %>'
                                            ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_CancelRecursoKCG.ToolTip").ToString() %>'>
                                        </asp:Button>
                                </td>
                            </tr>
                        </table>      
                    </asp:Panel>          
                    
                     <%--id's--%> 
                     
                     <asp:TextBox 
                        ID="Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Empresa_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Bod_Bodega_Tipo_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Bod_Bodega_Tipo_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Creacion_Per_Personal_Id") %>'>
                    </asp:TextBox>      
                    
                    <asp:TextBox 
                        ID="int_moneda_id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("int_moneda_id") %>'>
                    </asp:TextBox>
                    
                    <%--campos no visibles--%>              
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Empresa_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Empresa_Nombre") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Creacion_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Responsables" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Responsables") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado_Nombre") %>'>
                    </asp:TextBox>                                        
                    
                    <asp:TextBox 
                        ID="Codigo_int" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Codigo_int") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado") %>'>
                    </asp:TextBox>                    
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Panel
                        id="panelI1"
                        runat="server"
                        meta:resourcekey="Rec_Bod_BodegaRecursoKCG">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <asp:label
                                        id="lblestado"
                                        runat="server"                                        
                                        Text='<%# Bind("Estado_Nombre") %>'>
                                    </asp:label>                                  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCodigo"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("CodigoRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Codigo" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("CodigoRecursoKCG.ToolTip").ToString() %>'
                                        Text='<%# Bind("Codigo") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblTipo"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Bod_Bodega_Tipo_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Tipo_Codigo" 
                                        runat="server"
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_Tipo_CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Bod_Bodega_Tipo_Codigo") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="Bod_Bodega_Tipo_Nombre" 
                                        runat="server" 
                                        Width="400"
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Bod_Bodega_Tipo_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Bod_Bodega_Tipo_Nombre") %>'>
                                    </asp:TextBox>    
                                    <asp:Button 
                                        ID="btnZoomBodega" 
                                        runat="server" 
                                        CommandArgument="RutaDestino: ~/BOD/Bod_Bodega_Tipo.aspx; Filtro: Bod_Bodega_Tipo_Nombre;"
                                        CommandName="Zoom" 
                                        Text="..." Enabled="false"/>                                  
                                </td>                                     
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblBodega"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Nombre" 
                                        runat="server" 
                                        Width="560"
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Nombre") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblmoneda"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="int_moneda_codigo" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_CodigoRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("int_moneda_codigo") %>'>
                                    </asp:TextBox>
                                    <asp:TextBox 
                                        ID="int_moneda_nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Int_Moneda_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("int_moneda_nombre") %>'>
                                    </asp:TextBox>                                    
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblCreacion"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Creacion_Per_Personal_Nombre" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Creacion_Per_Personal_NombreRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Creacion_Per_Personal_Nombre") %>'>
                                    </asp:TextBox>
                                    <asp:Label
                                        id="lblFecha"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                    <asp:TextBox 
                                        ID="Fecha_Creacion" 
                                        runat="server" 
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("Fecha_CreacionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Fecha_Creacion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label
                                        id="lblDescripcion"
                                        runat="server"
                                        Text='<%# GetLocalResourceObject("DescripcionRecursoKCG.Text").ToString() %>'>
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox 
                                        ID="Descripcion" 
                                        runat="server" 
                                        Width ="560"
                                        Height="50px"
                                        TextMode="multiline"
                                        CssClass="TEXTO_LECTURA_KCG"
                                        ReadOnly="true"
                                        TabIndex="-1"
                                        ToolTip='<%# GetLocalResourceObject("DescripcionRecursoKCG.ToolTip").ToString() %>' 
                                        Text='<%# Bind("Descripcion") %>'>
                                    </asp:TextBox>
                                </td>
                            </tr>
                            <tr align="left">
                                <td colspan="2">
                                    <asp:Button 
                                        ID="EditButton" 
                                        runat="server"
                                        CausesValidation="False" 
                                        CommandName="Edit"
                                        AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_EditarRecursoKCG.AccesKey").ToString() %>'  
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_EditRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_EditRecursoKCG.ToolTip").ToString() %>'>
                                   </asp:Button>
                                   <asp:Button 
                                        ID="DeleteButton" 
                                        runat="server" 
                                        CausesValidation="False" 
                                        CommandName="Delete"
                                        AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_EliminarRecursoKCG.AccesKey").ToString() %>'  
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_DeleteRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_DeleteRecursoKCG.ToolTip").ToString() %>'>
                                   </asp:Button>
                                   <asp:Button 
                                        ID="NewButton" 
                                        runat="server" 
                                        CausesValidation="False" 
                                        CommandName="New"
                                        AccessKey='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Tec_NuevoRecursoKCG.AccesKey").ToString() %>'  
                                        Text='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_NewRecursoKCG.Text").ToString() %>'
                                        ToolTip='<%# HttpContext.GetLocalResourceObject("~/ITCG.master", "Btn_NewRecursoKCG.ToolTip").ToString() %>'>
                                   </asp:Button>
                                   <uc1:wucMensajeEliminar ID="WucMensajeEliminar1" runat="server" />
                                </td>
                            </tr>
                        </table>      
                    </asp:Panel>          
                    
                     <%--id's--%> 
                     
                     <asp:TextBox 
                        ID="Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Int_Empresa_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Bod_Bodega_Tipo_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Bod_Bodega_Tipo_Id") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("Creacion_Per_Personal_Id") %>'>
                    </asp:TextBox>     
                    
                    <asp:TextBox 
                        ID="int_moneda_id" 
                        runat="server" 
                        style="display:none"
                        Text='<%# Bind("int_moneda_id") %>'>
                    </asp:TextBox> 
                    
                    <%--campos no visibles--%>              
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Empresa_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Int_Empresa_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Int_Empresa_Nombre") %>'>
                    </asp:TextBox>
                                        
                    <asp:TextBox 
                        ID="Creacion_Per_Personal_Codigo" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Creacion_Per_Personal_Codigo") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Responsables" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Responsables") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado_Nombre" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado_Nombre") %>'>
                    </asp:TextBox>                                        
                    
                    <asp:TextBox 
                        ID="Codigo_int" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Codigo_int") %>'>
                    </asp:TextBox>
                    
                    <asp:TextBox 
                        ID="Estado" 
                        runat="server" 
                        Visible="false"
                        Text='<%# Bind("Estado") %>'>
                    </asp:TextBox>                    
                </ItemTemplate>
            </asp:FormView>
            <table>
                <tr>                    
                    <td>
                        <asp:Button 
                            ID="ButtonPersonal" 
                            runat="server"  
                            Text='<%# GetLocalResourceObject("Btn_Bod_Bodega_PersonalRecursoKCG.Text").ToString() %>'                       
                            OnClick="ButtonPersonal_Click"/>
                    </td>
                    <td>
                        <asp:Button 
                            ID="ButtonSubperiodos" 
                            runat="server"                              
                            OnClick="ButtonSubperiodos_Click"/>
                    </td>
                    <td>
                        <asp:Button 
                            ID="ButtonListado" 
                            runat="server"  
                            Text='<%# GetLocalResourceObject("Btn_Bod_Bodega_ListadoRecursoKCG.Text").ToString() %>'                       
                            OnClick="ButtonListado_Click"/>
                    </td>
                </tr>
            </table>
            <asp:ObjectDataSource 
                ID="odsfvbod_bodega" 
                runat="server" 
                ConflictDetection="CompareAllValues"
                DeleteMethod="Delete" 
                InsertMethod="Insert" 
                OldValuesParameterFormatString="original{0}"
                SelectMethod="GetById" 
                SortParameterName="sortExpression" 
                TypeName="FEL.BOD.BO_Bod_Bodega"
                UpdateMethod="Update">
                <SelectParameters>
                    <asp:SessionParameter 
                        Name="s" 
                        SessionField="Scope" 
                        Type="Object" />
                    <asp:Parameter 
                        Name="Id" 
                        Type="String" />
                </SelectParameters>
            </asp:ObjectDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

